import request from '@/utils/request'
export function unitList(query) {
  return request({
    url: '/common/unitList',
    method: 'get',
    params: query
  })
}
export function samplePostion(query) {
  return request({
    url: '/common/samplePostion',
    method: 'get',
    params: query
  })
}
export function getMessage(query) {
  return request({
    url: '/common/getMessage',
    method: 'post',
    data: query
  })
}
export function updateMessage(query) {
  return request({
    url: '/common/updateMessage',
    method: 'post',
    data: query
  })
}
